package com.jwds.digital.bios.business.service.service.dispatch;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jwds.digital.bios.business.core.infrastructure.dto.dispatch.DispatchRevertReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.entity.dispatch.DispatchRevert;
import com.jwds.digital.bios.business.core.infrastructure.vo.dispatch.DispatchRevertRespVO;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.FlowBasicRespVO;
import com.jwds.tdc.framework.application.lib.page.PageRequest;
import com.jwds.tdc.framework.application.lib.page.PageResponse;

import java.util.List;

/**
 * 返料调度接口
 *
 * @author 林柏云
 * @date 2024-10-24
 */
public interface IDispatchRevertService extends IService<DispatchRevert>{

  /**
   * 通过id查询
   * @param id 主键id
   * @return RespVO 查询结果
   */
  DispatchRevertRespVO queryById(Long id);

  /**
   * 分页查询
   * @param pageRequest 分页查询参数
   * @return pageResponse 分页查询结果
   */
  PageResponse<DispatchRevertRespVO> page(PageRequest<DispatchRevertReqDTO> pageRequest);

  /**
   * 查询全部数据
   * @return List<RespVO> 全部数据
   */
  List<DispatchRevertRespVO> findAll();

  /**
   * 下拉框
   * @param destPointion
   * @return
   */
  List<String> DropDownBox(String destPointion);

  /**
   * 下拉框
   * @param destDevice
   * @return
   */
  List<String> destDevice(String destDevice);

  /**
   * 下拉框流程
   * @param
   * @return
   */
  List<String> originDevice(DispatchRevertReqDTO reqDTO);

  /**
   * 执行
   * @param
   * @return
   */
  DispatchRevertRespVO execute(DispatchRevertReqDTO reqDTO);

  /**
   * 查询返料
   * @param binName
   * @return
   */
  List<DispatchRevertRespVO> listBlastFurnace(String binName);


  /**********扩展查询************/

}
